/* 引入基础模块 */
@import "lib-mixins";
@import "lib-reset";

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  border-bottom:1px solid #ccc !important;
}

body{
  margin: 0;
  padding: 0;
  background-color: white;
}
.logoPosition{
  color: white;
  margin: 20px;
  font-size: 20px;
}
.logoPosition>img{
  width: 25px;
}
.logoPosition>span{
  position: absolute;
  margin-top: 3px;
  margin-left: 5px;
}
.top{/*上面背景====*/
  width: 100%;
  background: url("../img/topbg.jpg") no-repeat center;
  height: 388px;
  position: absolute;
}
.slogan{
  width: 100%;
  color: white;
  position: relative;
  margin-top: 10px;
}
.slogan hr{
  position: absolute;
}
.slogan>hr:nth-of-type(1){
  width: 35px;
  margin-left: 65px;
  margin-top: 10px;
}
.slogan>hr:nth-of-type(2){
  width: 35px;
  margin-top: 10px;
  margin-left: 240px;
}
#cont{
  width: 350px;
  height: 350px;
  text-align: center;
  margin: 180px 0 0 -175px;
  position: absolute;
  left: 50%;
}
#logo{/*第一行logo和字体的设置*/
  color: white;
  font-size: 25px;
  position: relative;
}
#logo img{/*logo图标大小设置*/
  width: 30px;
  position: absolute;
  margin-top: 5px;
  margin-left: -15px;
}
#logo>span{
  margin-left: 20px;
}
#loginForm{
  box-shadow: rgba(0, 0, 0, 0.2) 0 8px 17px 0, rgba(0, 0, 0, 0.188235) 0 6px 20px 0;
  margin-bottom: 40px;
}
#loginForm,#cuowu{/*登录表单的设置*/
  width: 100%;
  border-radius: 5px;
  background-color: white;
  margin-top: 15px;
  padding: 0 20px 20px 20px;
}

#loGin{/*这里是登录按钮的设置*/
  //margin-top: 20px;
  width: 90%;
  height: 50px;
  line-height: 35px;
  font-size: 20px;
}
#loginForm>h3{/*登录字体上边距的设置*/
  margin-top: 10px;
}
#loginForm>div:nth-of-type(4){
  margin-top: 10px;
}
a{
  color: #03A9F4;
}
/*改变库中checkbox的样式*/
.remember{
  margin-left: 20px;
  padding: 10px 0 10px 0;
}
.remember div{
  position: absolute;
  margin-left: 30px;
  margin-top: -18px;
}
#remember label{
  font-size: 14px;
}
//#remember>div>span{
//  position: absolute;
//  margin-top: 4px;
//  font-size: 13px;
//  color: darkgray;
//}
#remember .checkbox-material .check{
  width: 15px;
  height: 15px;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.4);
}
#remember .checkbox input[type=checkbox]:checked + .checkbox-material .check{
  border-color: #03A9F4;
}
#remember .checkbox input[type=checkbox]:checked + .checkbox-material .check:before{
  color: #03A9F4;
}
#remember .checkbox .checkbox-material .check:before{
  margin-top: -5px;
  margin-left: 5px;
}

@media screen and(min-width: 1440px) {
  .top{
    width: 1440px;
    height: 388px;
    margin: 0 0 0 -720px;
    position: absolute;
    left: 50%;
  }
}
/*媒体查询器处理小于360频幕的尺寸*/
@media screen and (max-width: 420px) {
  #cont{
    width: 300px;
    margin: 70px 0 0 -150px;
  }
  .remember div{
    margin-top: -20px;
  }
  .top{
    display: none;
  }
  body{
    background-color: #439EED;
  }
  .edition{
    color: white;
  }
  .slogan>hr:nth-of-type(1){
    width: 35px;
    margin-left: 40px;
    margin-top: 10px;
  }
  .slogan>hr:nth-of-type(2){
    width: 35px;
    margin-top: 10px;
    margin-left: 220px;
  }
  .logoPosition{
    display: none;
  }
}
#cont .control-label{/*调整图标的位置===*/
  margin-top: 8px;
}
#modal-error{
  text-align: center;
  margin-top: 5px;
  width: 100%;
  height: 15px;
  font-size: 14px;
  color: red;
  opacity: 0;
}
.code{
  background-image:url('../img/code.jpg');
  font-family:'Arial','宋体',sans-serif;
  font-style:italic;
  color:#03A9F4;
  border:0;
  padding:2px 3px;
  letter-spacing:3px;
  font-weight:bolder;
  width:60px
}
#input1{
  text-align: center;
}
.unchanged {
  border:0;
}
#code{/*验证码隐藏的位置====*/
  position: relative;
  display: none;
}


/*覆盖原有移入变化颜色====*/
#cont .form-control,
.form-group .form-control {
  border: 0;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#03A9F4), to(#03A9F4)), -webkit-gradient(linear, left top, left bottom, from(#D2D2D2), to(#D2D2D2)) ;
  background-image: -webkit-linear-gradient(#03A9F4, #03A9F4), -webkit-linear-gradient(#D2D2D2, #D2D2D2) ;
  background-image: -o-linear-gradient(#03A9F4, #03A9F4), -o-linear-gradient(#D2D2D2, #D2D2D2) ;
  background-image: linear-gradient(#03A9F4, #03A9F4), linear-gradient(#D2D2D2, #D2D2D2) ;
}
#cont .form-group.is-focused label,
.form-group.is-focused label.control-label {
  color: #03A9F4 ;
}

